package com.zclcs.service;

import java.util.List;

import com.zclcs.model.DataRet;
import com.zclcs.model.Menu;
import com.zclcs.model.RolePermission;

/**
 * 菜单service层
 * 
 * @author 周成龙
 *
 */
public interface MenuService {

	List<Menu> selectMenu(Menu menu);

	void insertMenu(Menu menu);

	DataRet<Object> deleteMenu(List<String> ids);

	void updateMenu(Menu menu);

	void updateChildrenMenu(Menu menu);

	Boolean validMenuName(Menu menu);

	Boolean validMenuPermission(Menu menu);

	void pickUpRoleMenus(RolePermission rolePermission);

	void putDownRoleMenus(RolePermission rolePermission);
}
